import java.util.ArrayList;
import java.util.Random;
import java.lang.Math;

public class Main {
	public static void main(String[] args) {
		// TetrisGame newGame = new TetrisGame();
		/* on input to START game */// newGame.gameStart();

		// creating a shape randomly- SUCCESS.
		Board newBoard = new Board();
		Shape newShape = new Shape();
		for(int row = 0; row < newShape.locs.length; row++){
			for(int col = 0; col < newShape.locs[row].length; col++){
				System.out.print(newShape.locs[row][col] + " ");
			}
			System.out.println();
		}
		/*for (int row = 0; row < newBoard.boardLocs.length; row++) {
			for (int col = 0; col < newBoard.boardLocs[row].length; col++) {
				System.out.print(newBoard.boardLocs[row][col] + " ");
			}
			System.out.println();
		}*/
		System.out.println();
		newBoard.newShape(newShape);
		for (int row = 0; row < newBoard.boardLocs.length; row++) {
			for (int col = 0; col < newBoard.boardLocs[row].length; col++) {
				System.out.print(newBoard.boardLocs[row][col] + " ");
			}
			System.out.println();
		}
		
	}

	public static void printShape(Shape myShape) {
		for (int row = 0; row < myShape.locs.length; row++) {
			for (int col = 0; col < myShape.locs[row].length; col++) {
				System.out.print(myShape.locs[row][col] + " ");
			}
			System.out.println();
		}
		System.out.println();
		System.out.println();
	}
}

/*
 * Create an array and put the shapes inside of them. Then create a random
 * object that is the length of the array. Then just use the random number
 * generated as the index of the array to display that shape.
 */
